package com.cssw.fyzb.web.dto;


import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @description:
 * @author: zzf
 * @time: 2020/12/22 19:14
 */
@Data
public class CmfGiftDto {

    @NotNull(message = "礼物ID")
    @ApiModelProperty("礼物ID")
    private Long giftId;

    @NotNull(message = "礼物类型  0 普通礼物 1 可连送礼物")
    @ApiModelProperty("礼物类型")
    private String type;

    @NotNull(message = "礼物分类ID不能为空")
    @ApiModelProperty("礼物分类ID")
    private Long cateId;

    @NotNull(message = "礼物名称不能为空")
    @ApiModelProperty("礼物名称")
    private String giftName;

    @NotNull(message = "礼物所需福币不能为空")
    @ApiModelProperty("礼物所需福币")
    private BigDecimal needCoin;

    @NotNull(message = "礼物音值不能为空")
    @ApiModelProperty("礼物音值")
    private BigDecimal giftYCoin;

    @NotNull(message = "礼物小图")
    @ApiModelProperty("礼物小图")
    private String iconMini;

    @NotNull(message = "礼物图片不能为空")
    @ApiModelProperty("礼物图片")
    private String image;

    @NotNull(message = "排序")
    @ApiModelProperty("排序")
    private Integer sort;
}
